package com.lzh.runke.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注解：对特殊符号前增加"\"进行转义
 * @author tension 2023-05-11
 * @version 2.2.029+
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Escape {

    /**
     * 需要转义的字符
     */
    String[] value() default {"%", "_"};
}
